package com.smartHire.service;

import com.smartHire.domain.Address;
import com.smartHire.domain.User;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {
    int addUser(User user);
    List<User> queryUser();
    User queryUserById(User user);
    int updateBalance(User user);


    int addAddress(Address address);
    List<Address> queryAddressByU_Id(Address address);
    Address queryAddressByAddressId(Address address);
    int updateAddress(Address address);
    int updateDefaultAddress(Address address);
    int deleteAddress(Address address);
}
